using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.GamerServices;

namespace Fated.Character {
    public class CharacterGen {
        const float ChangePerSecond = 5.0f / 60.0f;
        public CharacterGen() {
            CurrentCharacter.initialize();
            CurrentCharacter.Name = "" + Gamer.SignedInGamers[CurrentCharacter.CurrentPlayerIndex].Gamertag;
        }
        public void update(Vector2 controlStick) {
            CurrentCharacter.Birthdate = CurrentCharacter.Birthdate.AddDays(controlStick.X * ChangePerSecond + (controlStick.Y * ChangePerSecond / 24));

            //this.text = outputChar.Name;
            //this.text += "\r\n" + outputChar.Birthdate;
            //this.text += "\r\n" + outputChar.printStats();
        }
    }
}
